package com.yxq.mdt.app.modules.personal.presenter;

import com.yxq.mdt.app.base.ibase.IBaseContract;
import com.yxq.mdt.app.modules.personal.bean.CollectTopicListBean;
import com.yxq.mdt.app.modules.personal.bean.PublishBean;
import com.yxq.mdt.app.modules.personal.bean.TopicCommentBean;

public interface IPublishContract extends IBaseContract {

    interface View extends IBaseView {

        void onLoadListSuccess(PublishBean data);

        void onLoadListFailed(String msg);


        void onLoadToPicListSuccess(CollectTopicListBean data);

        void onLoadToPicListFailed(String msg);

        void onLoadTopicCommentListSuccess(TopicCommentBean data);

        void onLoadTopicCommentFailed(String msg);

    }

    interface Presenter extends IBasePresenter {
        void selectTopicInfoList(int pageNum, int pageSize);
    }
}
